package com.yssoft.mapper.purchase;

import com.yssoft.entity.purchase.TPurchaseAtt;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface TPurchaseAttMapper extends Mapper<TPurchaseAtt>{
    /**
     * 根据收货单获取收货单附件
     * @param id
     * @return
     */
    List<Map<String,Object>> selectByReciveId(Integer id);
    
    /**
     * 根据采购单获取证照信息
     * @param id
     * @return
     */
    List<Map<String,Object>> selectByPurchaseInfoId(Integer id);
}